package com.accp.jboa.dao;

import com.accp.jboa.pojo.Reimburse;
import com.accp.jboa.pojo.Status;
import com.accp.jboa.vo.ReimburseAndEmployeeAndDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReimburseMapper {
    int deleteByPrimaryKey(Integer reimburseid);

    int insert(Reimburse record);

    int insertSelective(Reimburse record);

    Reimburse selectByPrimaryKey(Integer reimburseid);

    int updateByPrimaryKeySelective(Reimburse record);

    int updateByPrimaryKey(Reimburse record);

    List<ReimburseAndEmployeeAndDetail> queryAll(@Param("starttime") String starttime,@Param("endtime") String endtime,@Param("status") String status);

    List<Status> queryAllStatus();

    ReimburseAndEmployeeAndDetail queryByid(@Param("reimburseid") Integer reimburseid);

    int updatereimburse(Reimburse reimburse);
}